package com.onLineCar.manages.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 图片表
 * </p>
 *
 * @author zhucaiyi
 * @since 2023-12-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
public class ImageTable implements Serializable {

    // private static final long serialVersionUID = 1L;

    /**
     * 图片ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 业务逻辑ID
     */
    private Integer businessId;

    /**
     * 图片URL
     */
    private String imageUrl;

    /**
     * 图片描述
     */
    private String description;

    /**
     * 上传时间
     */
    private Date uploadTime;

    /**
     * 图片序列
     */
    private Integer imageCode;

    /**
     * 逻辑删除标识
     */
    @TableLogic(value = "0", delval = "1")
    @TableField(value = "is_deleted", fill = FieldFill.DEFAULT)
    private Integer isDeleted;

}
